#
# Be sure to run `pod lib lint HStockCharts.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HStockCharts'
  s.version          = '0.1.1'
  s.summary          = 'HStockCharts.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
HStockCharts
                       DESC

  s.homepage         = 'https://gitee.com/hotacool'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'hotacool' => 'shisosen@163.com' }
  s.source           = { :git => 'https://gitee.com/hotacool/HStockChartsRepo.git', :branch => 'master' }

  s.ios.deployment_target = '8.0'
  s.requires_arc = true
  s.source_files = "HStockCharts/Classes/HStockCharts.h"

  s.subspec 'Core' do |ss|
    ss.source_files = ['HStockCharts/Classes/Core/*.{c,h,hh,m,mm,cpp}', 'HStockCharts/Classes/Core/**/*.{c,h,hh,m,mm,cpp}']
    ss.prefix_header_file = 'HStockCharts/Classes/Core/HStockCharts-PrefixHeader.pch'
  end

  s.subspec 'Drawing' do |ss|
    ss.source_files = ['HStockCharts/Classes/v1.0/*.{c,h,hh,m,mm,cpp}', 'HStockCharts/Classes/v1.0/**/*.{c,h,hh,m,mm,cpp}']
    ss.dependency 'HStockCharts/Core'
  end

  s.subspec 'LayerRender' do |ss|
    ss.source_files = ['HStockCharts/Classes/v2.0/*.{c,h,hh,m,mm,cpp}', 'HStockCharts/Classes/v2.0/**/*.{c,h,hh,m,mm,cpp}']
    ss.dependency 'HStockCharts/Core'
  end
end
